package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/7 0007.
 */

public class RedpacakgeBindReuqestParams extends BaseRequestParams implements Parcelable {

    private static final String SERVICE = "bindZfb";



    /**
     * 绑定的手机号码
     */
    private String role_id;

    private String real_name;

    private String zfb_account;



    /**
     * 用户真实姓名
     */
    private String server_id;

    private String macAddress;



    public RedpacakgeBindReuqestParams() {
    }



    @Override
    public String getServiceString() {
        return SERVICE;
    }



    public String getRole_id() {
        return role_id;
    }

    public void setRole_id(String role_id) {
        this.role_id = role_id;
    }


    public String getServer_id() {
        return server_id;
    }

    public void setServer_id(String server_id) {
        this.server_id = server_id;
    }

    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }

    public String getReal_name() {
        return real_name;
    }

    public void setReal_name(String real_name) {
        this.real_name = real_name;
    }

    public String getZfb_account() {
        return zfb_account;
    }

    public void setZfb_account(String zfb_account) {
        this.zfb_account = zfb_account;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);

        dest.writeString(this.role_id);

        dest.writeString(this.server_id);
        dest.writeString(this.macAddress);
        dest.writeString(this.real_name);
        dest.writeString(this.zfb_account);
    }

    protected RedpacakgeBindReuqestParams(Parcel in) {
        super(in);

        this.role_id = in.readString();

        this.server_id = in.readString();
        this.macAddress = in.readString();
        this.real_name = in.readString();
        this.zfb_account = in.readString();
    }

    public static final Creator<RedpacakgeBindReuqestParams> CREATOR = new Creator<RedpacakgeBindReuqestParams>() {
        @Override
        public RedpacakgeBindReuqestParams createFromParcel(Parcel source) {
            return new RedpacakgeBindReuqestParams(source);
        }

        @Override
        public RedpacakgeBindReuqestParams[] newArray(int size) {
            return new RedpacakgeBindReuqestParams[size];
        }
    };
}
